package com.crane.oss.common.bean.request;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author tyh
 * @Description 发送短信请求对象
 */
@Getter
@Setter
@ToString
@ApiModel(description = "发送短信请求对象")
public class SendSMSRequest implements Serializable {

	private static final long serialVersionUID = -1401848984831776605L;

	@ApiModelProperty(value = "短信模板编号", name = "msgTypeNo")
    @NotNull(message = "短信模板编号不能为空")
    private String msgTypeNo;

	@ApiModelProperty(value = "编码：发送验证码是为校验码，发送工单相关短信时为工单编号", name = "code")
    @NotNull(message = "编码不能为空")
	private String code;

	@ApiModelProperty(value = "用户名称", name = "name")
    @NotNull(message = "用户名称不能为空")
	private String name;

	@ApiModelProperty(value = "接收手机号码", name = "phoneNumber")
    @NotNull(message = "接收手机号码不能为空")
	private String phoneNumber;

}
